StoreEngine\Addons\Subscription\Classes\Utils D

Total Complexity 154
Dependencies 15
Dependents 4
Total lines 1,066
Lines of code 649
Logical lines of code 376
Comment lines 280
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
subscription_price_html()
C
34 25 84
get_account_subscription_actions()
B
37 19 65
format_cart_price_html()
B
36 16 85
create_order_from_subscription()
A
35 8 82
can_user_renew_early()
A
52 9 23
cart_totals_order_total_html()
A
49 8 26
get_non_cached_subscription_ranges()
A
49 7 31
change_users_subscription()
S
49 6 32
append_numeral_suffix()
S
54 6 21
cart_contains_renewal()
S
58 6 15
get_sign_up_fee_from_order()
S
57 6 15
cart_totals_subtotal_html()
S
61 6 11
get_first_renewal_payment_time()
S
54 5 21
get_subscription_ranges()
S
57 5 16
get_expiration_date()
S
61 3 12
get_subscription_period_short_strings()
S
58 2 15
get_subscription_period_strings()
S
60 2 12
get_subscription_trial_period_strings()
S
60 2 12
create_renewal_order()
S
62 2 11
create_resubscribe_order()
S
62 2 11
get_users_change_status_link()
S
62 2 11
create_parent_order()
S
64 2 9
get_first_renewal_payment_date()
S
64 2 9
get_payment_gateway_by_order()
S
80 1 3
prepare_cart_price_html()
S
64 1 10
get_early_renewal_url()
S
68 1 7